package edu.princeton.cogsci.wn.sql;

import edu.princeton.cogsci.wn.*;

public class SQLSynsetKey implements SynsetKey
{
  public int key;

  public SQLSynsetKey( int k )
  {
    key = k;
  }

  public int hashCode( )
  {
    return key % 100;
  }

  public boolean equals( Object obj )
  {
    if ( obj instanceof SQLSynsetKey )
      return ( ( SQLSynsetKey )obj ).key == key;
    return false;
  }
}
